package com.example.avmanagerweb.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xg
 * @since 2023-06-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("StaffDepartment")
public class Staffdepartment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("ID")
    private Integer id;

    @TableField("ParentID")
    private Integer parentid;

    @TableField("DepartName")
    private String departname;

    @TableField("ShowOrd")
    private Integer showord;

    @TableField("DepartLayer")
    private Integer departlayer;

    @TableField("SaveDays")
    private Integer savedays;

    @TableField(exist = false)
    private List<Staffdepartment>  staffdepartment;

}
